﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;

namespace WebApplication1.Models
{
    public class Qiandao
    {
        public string id { get; set; }
        /// <summary>
        /// 签到日期
        /// </summary>
        public string signTimeDate { get; set; }
        /// <summary>
        /// 签到时间
        /// </summary>
        public string signTime { get; set; }
        public string signImg { get; set; }
        public string type { get; set; }
        public string studentId { get; set; }

        /// <summary>
        /// 签到这天星期几
        /// </summary>
        //public string wk { get; set; }

        /// <summary>
        /// 0表示空格，1表示签到，2表示未签到
        /// </summary>
        public string dayhtmlType { get; set; }
        /// <summary>
        /// 几号
        /// </summary>
        public string dayNumber { get; set; }
        /// <summary>
        /// 上午签到时间
        /// </summary>
        public string signTimeAm { get; set; }
        /// <summary>
        /// 下午出园时间
        /// </summary>
        public string signTimePm { get; set; }

        ///// <summary>
        ///// 使用序列化和反序列化进行复制,深拷贝
        ///// </summary>
        ///// <returns></returns>
        //public object DeepClone()
        //{
        //    BinaryFormatter bf = new BinaryFormatter();
        //    MemoryStream ms = new MemoryStream();
        //    bf.Serialize(ms, this); //复制到流中
        //    ms.Position = 0;
        //    return (bf.Deserialize(ms));
        //}
    }
}
